package org.hnsd.train.design.lod;

import java.util.ArrayList;
import java.util.List;

/**
 * @author youqd
 * @tag.date 2023-10-25 16:58
 **/
public class Teacher {
    public void commond(GroupLeader groupLeader){
        List listGirls = new ArrayList<>();
        //初始化女生
        for(int i=0;i<20;i++){
            listGirls.add(new Girl());
        }
        //告诉体育委员开始执行清查任务
        groupLeader.countGirls(listGirls);
    }
}
